package com.coding.pojo;

import java.io.Serializable;

/**
 * video
 *
 * @author
 */
public class Video implements Serializable {
    private Integer video_id;

    private Integer video_imageid;

    private String video_name;

    private String video_url;

    private String video_intro;

    private String video_collect;

    private String video_comment;

    private String viedo_tag;

    private String video_status;

    private String video_more1;

    private String video_more2;
    //图片实体类
    private OssImages ossImages;

    private static final long serialVersionUID = 1L;

    public OssImages getOssImages() {
        return ossImages;
    }

    public void setOssImages(OssImages ossImages) {
        this.ossImages = ossImages;
    }

    public Integer getVideo_id() {
        return video_id;
    }

    public void setVideo_id(Integer video_id) {
        this.video_id = video_id;
    }

    public Integer getVideo_imageid() {
        return video_imageid;
    }

    public void setVideo_imageid(Integer video_imageid) {
        this.video_imageid = video_imageid;
    }

    public String getVideo_name() {
        return video_name;
    }

    public void setVideo_name(String video_name) {
        this.video_name = video_name;
    }

    public String getVideo_url() {
        return video_url;
    }

    public void setVideo_url(String video_url) {
        this.video_url = video_url;
    }

    public String getVideo_intro() {
        return video_intro;
    }

    public void setVideo_intro(String video_intro) {
        this.video_intro = video_intro;
    }

    public String getVideo_collect() {
        return video_collect;
    }

    public void setVideo_collect(String video_collect) {
        this.video_collect = video_collect;
    }

    public String getVideo_comment() {
        return video_comment;
    }

    public void setVideo_comment(String video_comment) {
        this.video_comment = video_comment;
    }

    public String getViedo_tag() {
        return viedo_tag;
    }

    public void setViedo_tag(String viedo_tag) {
        this.viedo_tag = viedo_tag;
    }

    public String getVideo_status() {
        return video_status;
    }

    public void setVideo_status(String video_status) {
        this.video_status = video_status;
    }

    public String getVideo_more1() {
        return video_more1;
    }

    public void setVideo_more1(String video_more1) {
        this.video_more1 = video_more1;
    }

    public String getVideo_more2() {
        return video_more2;
    }

    public void setVideo_more2(String video_more2) {
        this.video_more2 = video_more2;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Video other = (Video) that;
        return (this.getVideo_id() == null ? other.getVideo_id() == null : this.getVideo_id().equals(other.getVideo_id()))
                && (this.getVideo_imageid() == null ? other.getVideo_imageid() == null : this.getVideo_imageid().equals(other.getVideo_imageid()))
                && (this.getVideo_name() == null ? other.getVideo_name() == null : this.getVideo_name().equals(other.getVideo_name()))
                && (this.getVideo_url() == null ? other.getVideo_url() == null : this.getVideo_url().equals(other.getVideo_url()))
                && (this.getVideo_intro() == null ? other.getVideo_intro() == null : this.getVideo_intro().equals(other.getVideo_intro()))
                && (this.getVideo_collect() == null ? other.getVideo_collect() == null : this.getVideo_collect().equals(other.getVideo_collect()))
                && (this.getVideo_comment() == null ? other.getVideo_comment() == null : this.getVideo_comment().equals(other.getVideo_comment()))
                && (this.getViedo_tag() == null ? other.getViedo_tag() == null : this.getViedo_tag().equals(other.getViedo_tag()))
                && (this.getVideo_status() == null ? other.getVideo_status() == null : this.getVideo_status().equals(other.getVideo_status()))
                && (this.getVideo_more1() == null ? other.getVideo_more1() == null : this.getVideo_more1().equals(other.getVideo_more1()))
                && (this.getVideo_more2() == null ? other.getVideo_more2() == null : this.getVideo_more2().equals(other.getVideo_more2()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getVideo_id() == null) ? 0 : getVideo_id().hashCode());
        result = prime * result + ((getVideo_imageid() == null) ? 0 : getVideo_imageid().hashCode());
        result = prime * result + ((getVideo_name() == null) ? 0 : getVideo_name().hashCode());
        result = prime * result + ((getVideo_url() == null) ? 0 : getVideo_url().hashCode());
        result = prime * result + ((getVideo_intro() == null) ? 0 : getVideo_intro().hashCode());
        result = prime * result + ((getVideo_collect() == null) ? 0 : getVideo_collect().hashCode());
        result = prime * result + ((getVideo_comment() == null) ? 0 : getVideo_comment().hashCode());
        result = prime * result + ((getViedo_tag() == null) ? 0 : getViedo_tag().hashCode());
        result = prime * result + ((getVideo_status() == null) ? 0 : getVideo_status().hashCode());
        result = prime * result + ((getVideo_more1() == null) ? 0 : getVideo_more1().hashCode());
        result = prime * result + ((getVideo_more2() == null) ? 0 : getVideo_more2().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", video_id=").append(video_id);
        sb.append(", video_imageid=").append(video_imageid);
        sb.append(", video_name=").append(video_name);
        sb.append(", video_url=").append(video_url);
        sb.append(", video_intro=").append(video_intro);
        sb.append(", video_collect=").append(video_collect);
        sb.append(", video_comment=").append(video_comment);
        sb.append(", viedo_tag=").append(viedo_tag);
        sb.append(", video_status=").append(video_status);
        sb.append(", video_more1=").append(video_more1);
        sb.append(", video_more2=").append(video_more2);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}